package com.ougy.reshop.service.impl;

import java.util.List;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import com.ougy.reshop.dao.impl.GoodsClassDao;
import com.ougy.reshop.model.GoodsClass;
import com.ougy.reshop.service.ISGoodsClass;

@Service
public class SGoodsClass extends BaseServices implements ISGoodsClass{
	@Override
	public GoodsClass findById(int id) {
		return goodsClassDao.load(id);
	}
	@Override
	public void save(GoodsClass goodsClass) {
		goodsClassDao.save(goodsClass);
	}
}
